<template>
  <div class="redRule">
    <!-- 玩法以及规则 -->
    <header>
      <van-icon name="arrow-left" @click="$router.go(-1)" />
      <p>玩法以及规则</p>
      &nbsp;
    </header>
    <main>
      <p>玩法以及规则</p>
      <div></div>
    </main>
  </div>
</template>

<script>
export default {
  name: "redRule",
  data() {
    return {};
  },
};
</script>

<style lang="scss" scoped>
.redRule {
  height: 100%;
  font-size: 30px;
  display: flex;
  flex-direction: column;
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    border-bottom: 2px solid #ccc;
    padding-left: 20px;
  }
  main {
    flex: 1;
    overflow-y: auto;
    p {
      margin: 20px 0 10px 50px;
    }
    div {
      width: 650px;
      height: 2000px;
      margin: 30px auto;
      background-color: #ccc;
    }
  }
}
</style>